package com.x52im.rainbowchat.exception;

public class TokenException extends Exception {
    private static final long serialVersionUID = 1L;

    TokenException() {
        super();
    }

    public TokenException(String message) {
        super(message);
    }

    TokenException(int step, int lineNumber, String message) {
        super("In step: " + step + " Error in line " + lineNumber + " : <" + message + ">");
    }

    TokenException(Throwable cause) {
        super(cause);
    }

    TokenException(String message, Throwable cause) {
        super(message, cause);
    }
}
